package wt.jly.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lanyangji
 * @date 2018/9/7 14:13
 */
@Controller
@RequestMapping("/product")
public class ProductController {

    @RequestMapping("/toAdd")
    public String toAdd() {
        return "product/add";
    }
    @RequestMapping("/toUpdate")
    public String toUpdate() {
        return "product/update";
    }

    @RequestMapping("/toList")
    public String toList() {
        return "product/list";
    }

}
